﻿using System.Collections.Generic;

namespace Memento.Game
{
    internal class Memento
    {
        int money;
        List<string> fruits;

        internal Memento(int money)
        {
            this.money = money;
            this.fruits = new List<string>();
        }


        public int GetMoney()
        {
            return money;
        }


        internal void AddFruit(string fruit)
        {
            fruits.Add(fruit);
        }

        internal List<string> GetFruits()
        {
            return new List<string>(fruits);
        }
    }
}
